package com.wt.admin.domain.entity.ai;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wt.admin.config.JacksonTypeHandler;
import com.wt.admin.domain.entity.PublicEntity;
import lombok.Data;

@Data
@TableName(value = "ai_knowledge_title",autoResultMap = true)
public class KnowledgeTitleEntity extends PublicEntity {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @TableField(value = "title")
    private String title;

    @TableField(value = "config",typeHandler = JacksonTypeHandler.class)
    private Object config;

}
